#pragma once
#ifdef WIN32
#elif defined(LINUX)
#else
#error	"Please fix os ver"
#endif

struct ThreadWrapperArg
{
    void* (*start_address)(void*);
    void* arg;
};

class CThreadBinder
{
public:
    static long MakeThread(unsigned long *thread_id, void* (* start_address)(void*), void* arg);
    static void WaitFor(unsigned long thread_id);
    static void ExitFromThread(unsigned long result);
    static void CleanThread(unsigned long thread_id);
};

